@extends('layouts.master')

@section('title')
    物流模块——木投网商城管理后台
@stop

@section('app_css')
    <link href="/resource/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="/resource/css/style.css">
    <link rel="stylesheet" href="/resource/css/dataTables.bootstrap.css">
    <link rel="stylesheet" href="/resource/css/fileinput.min.css">
    <link href="/resource/css/bootstrap-datetimepicker.css" rel="stylesheet">
@stop

@section('app_js')
    <script src="/resource/js/jquery-1.11.3.min.js"></script>
    <script src="/resource/js/bootstrap.min.js"></script>
    <script src="/resource/js/jquery.twbsPagination.js"></script>
    <script src="/resource/js/date.js"></script>
    <script src="/resource/js/vendors/ckeditor/ckeditor.js"></script>
    <script src="/resource/js/vendors/ckeditor/adapters/jquery.js"></script>
    <script src="/resource/js/vendors/main.js"></script>
    <script src="/resource/js/fileinput.min.js"></script>
    <script src="/resource/js/fileinput_locale_zh.js"></script>
    <script src="/resource/js/bootstrap-datetimepicker.min.js"></script>
    <script src="/resource/js/bootstrap-datetimepicker.zh-CN.js"></script>
    <script>
        /*date*/
        $('.form_datetime').datetimepicker({
            language:'zh-CN',
            format: 'yyyy-mm-dd',
            minView: "month",
            todayBtn:true,
            autoclose:true
        });
        /*全选*/
        $(function () {
            $("#all").click(function () {
                var checked_status = this.checked;
                $("input[name=demo]").each(function () {
                    this.checked = checked_status;
                });
            });
        });
    </script>
@stop


@section('content')
    @include('common.nav')
<div class="container-fluid">
    <div class="row" id="navLeft">
        @include('common.service_nav')
        <div class="col-lg-10">
            <div class="navbottom">
              <span>您的位置：</span>其他 > 林场直供需求 
            </div>
            <div class="contentNav">
              <ul>
                <li>其他</li>
                <li class="btn btn-default"><a href="/show_logistics">列表</a></li>
                <li class="btn btn-default active"><a href="/edit_logistics">修改</a></li>
              </ul>
            </div>
            <hr>
            <div class="contentMember_new">
                {{ Form::open(['url'=>'/edit_logistics']) }}
                <table class="table table-hover">
                  <tbody>
                    <tr>
                      <th>出发地</th>
                    </tr>
                    <tr class="newBorder_top">
                      <th><input type="text" class="input-small form-control" name="departure" value="{{ $logistics->departure }}"></th>
                    </tr>
                    <tr>
                      <th>目的地</th>
                    </tr>
                    <tr class="newBorder_top">
                      <th>
                        <input type="text" class="input-small form-control" name="destination" value="{{ $logistics->destination }}">
                      </th>
                    </tr>
                    <tr>
                      <th>发车时间</th>
                    </tr>
                    <tr class="newBorder_top">
                      <th>
                        <div class="input-group date form_datetime col-md-5" data-date="1979-09-16T05:25:07Z" data-date-format="dd MM yyyy - HH:ii p" data-link-field="dtp_input1">
                            <input class="form-control" size="16" type="text" value="" readonly name="spec_time" value="{{ $logistics->spec_time }}">
                            <span class="input-group-addon"><span class="glyphicon glyphicon-th"></span></span>
                        </div>
                      </th>
                    </tr>
                    <tr>
                      <th>历时</th>
                    </tr>
                    <tr class="newBorder_top">
                      <th>
                        <input type="text" class="input-small form-control" name="take_time" value="{{ $logistics->take_time }}">
                      </th>
                    </tr>
                    <tr>
                      <th>车型</th>
                    </tr>
                    <tr class="newBorder_top">
                      <th>
                        <input type="text" class="input-small form-control" name="model_type" value="{{ $logistics->model_type}}">
                      </th>
                    </tr>
                    <tr>
                      <th>车长</th>
                    </tr>
                    <tr class="newBorder_top">
                      <th>
                        <input type="text" class="input-small form-control" name="truck_length" value="{{ $logistics->truck_length }}">
                      </th>
                    </tr>
                    <tr>
                      <th>载重</th>
                    </tr>
                    <tr class="newBorder_top">
                      <th>
                        <input type="text" class="input-small form-control" name="truck_weight" value="{{ $logistics->truck_weight }}">
                      </th>
                    </tr>
                    
                  </tbody>
                </table>
                  <button type="submit" class="btn btn-default">提交</button>
                <input type="hidden" name="wl_id" value="{{ $logistics->wl_id }}">
            {{ Form::close() }}
            </div>
        </div>
    </div>
</div>
@stop
